package com.example.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author lmy
 * @since 2024-08-04
 */
@RestController
@RequestMapping("/user")
public class UserController {
//    @Autowired
//    private UserService userService;
//    @PostMapping("/addUser")
//    public Response<ResponseCode> insertUser(@RequestBody User user){
//       userService.addUser(user);
//       return Response.<ResponseCode> builder()
//               .code(ResponseCode.SUCCESS.getCode())
//               .info(ResponseCode.SUCCESS.getInfo())
//               .build();
//
//    }


}
